﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;
using DuncanDAL;

namespace BLL
{
    public class QueryUsersTransaction:ICommand
    {
        private IList<T_UserObject> users;

        public IList<T_UserObject> Users
        {
            get { return users; }
        }

        #region ICommand 成员

        public void Execute()
        {
            UserDataService objUserDataService = new UserDataService();
            users = objUserDataService.QueryAll();
        }

        #endregion
    }
}
